class Requisito < ActiveRecord::Base

  validates :nome, :presence => true
  validates :descricao, :presence => true, :length => { :minimum => 10, :maximum => 500 }
  validates :pts_historia, :numericality => {:greater_than_or_equal_to => 0}
  
end
